package com.inspur.sc.springboot.entity.es;

import lombok.Data;
import org.springframework.data.elasticsearch.annotations.Document;

@Document(indexName = "megacorp",type = "employee",replicas = 2)
@Data
public class Employee {

    private String id;

    private String oneName;

    private String lastName;

    private Integer age;

}
